﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="Add_User.aspx.cs" Inherits="$rootnamespace$.admin.access.Add_User" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <section class="panel">
	    <header class="panel-heading">
					<h2>Add User</h2>
			</header>
			<div class="panel-tools" align="right">
				<ul class="tooltip-area">
					<li><a href="javascript:void(0)" class="btn btn-collapse" title="Collapse"><i class="fa fa-sort-amount-asc"></i></a></li>
					<li><a href="javascript:void(0)" class="btn btn-reload"  title="Reload"><i class="fa fa-retweet"></i></a></li>
					<li><a href="javascript:void(0)" class="btn btn-close" title="Close"><i class="fa fa-times"></i></a></li>
				</ul>
			</div>
			<div class="panel-body">

                <!-- PUT YOUR CONTENT HERE -->
<form id="form1" runat="server">                                            

<table class="webparts">
<tr>
<td class="details" valign="top">

<h3>Roles:</h3>
<asp:CheckBoxList ID="UserRoles" runat="server" />

<h3>Main Info:</h3>

    <table>
        <tr>
	        <td class="detailheader">Active User</td>
	        <td>
		        <asp:CheckBox ID="isapproved" runat="server" Checked="true" />
	        </td>
        </tr>
        <tr>
	        <td class="detailheader">User Name</td>
	        <td>
		        <asp:TextBox ID="username" runat="server"></asp:TextBox>
	        </td>
        </tr>
        <tr>
	        <td class="detailheader">Password</td>
	        <td>
		        <asp:TextBox ID="password" runat="server"></asp:TextBox>
	        </td>
        </tr>
        <tr>
	        <td class="detailheader">Email</td>
	        <td>
		        <asp:TextBox ID="email" runat="server"></asp:TextBox>
	        </td>
        </tr>
        <tr>
	        <td class="detailheader">Comment</td>
	        <td>
		        <asp:TextBox ID="comment" runat="server"></asp:TextBox>
	        </td>
        </tr>
        <tr>
	        <td colspan="2"><br />
		        <input type="submit" value="Add User" />&nbsp;
		        <input type="reset" />
	        </td>
        </tr>
        <tr>
	        <td colspan="2">
	        <div id="ConfirmationMessage" runat="server"></div>
	        </td>
        </tr>
        </table>

        <asp:ObjectDataSource ID="MemberData" runat="server" DataObjectTypeName="System.Web.Security.MembershipUser" SelectMethod="GetUser" UpdateMethod="UpdateUser" TypeName="System.Web.Security.Membership">
	        <SelectParameters>
		        <asp:QueryStringParameter Name="username" QueryStringField="username" />
	        </SelectParameters>
        </asp:ObjectDataSource> 
        </td>

        </tr>
    </table>

</form>

			</div>
			<footer class="panel-footer">
				<button type="submit" class="btn" data-color="#F4AD41">Submit</button>
				<button type="reset" class="btn">Cancel</button>
			</footer>
	</section>



</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="LocaJavascript" runat="server">
</asp:Content>
